 //***********************************************
 // FlightTest.java    Author:20172323wyh
 //***********************************************
 public class FlightTest
 {
    public static void main(String[] args)
    {
      Flight flight1 = new Flight("Line1", "SC1155", "ChongQing", "BeiJing");
      Flight flight2 = new Flight("Line2", "9C8921", "ShangHai", "HongKong");
      Flight flight3 = new Flight("Line3", "KN5899", "BeiJing", "GuangZhou");

      System.out.println(flight1);
      System.out.println();
      System.out.println(flight2);
      System.out.println();
      System.out.println(flight3);
    }
 }
